home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / win9keys / windows.frm < prev    next >
Text File  |  1999-08-30  |  1KB  |  53 lines

  1. VERSION 5.00
  2. Begin VB.Form Form1 
  3.    Caption         =   "Windows Keys"
  4.    ClientHeight    =   1065
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   2865
  8.    Icon            =   "Windows Keys.frx":0000
  9.    LinkTopic       =   "Form1"
  10.    MaxButton       =   0   'False
  11.    MinButton       =   0   'False
  12.    ScaleHeight     =   1065
  13.    ScaleWidth      =   2865
  14.    StartUpPosition =   2  'CenterScreen
  15.    Begin VB.CommandButton Command1 
  16.       Caption         =   "Disable Keys"
  17.       Height          =   375
  18.       Left            =   600
  19.       TabIndex        =   0
  20.       Top             =   600
  21.       Width           =   1695
  22.    End
  23.    Begin VB.Label Label1 
  24.       Caption         =   "By Shane Fernandes, IOS Software!"
  25.       Height          =   495
  26.       Left            =   120
  27.       TabIndex        =   1
  28.       Top             =   120
  29.       Width           =   2775
  30.    End
  31. End
  32. Attribute VB_Name = "Form1"
  33. Attribute VB_GlobalNameSpace = False
  34. Attribute VB_Creatable = False
  35. Attribute VB_PredeclaredId = True
  36. Attribute VB_Exposed = False
  37. Private Sub Command1_Click()
  38. On Error Resume Next
  39. If Command1.Caption = "Disable Keys" Then
  40. DisableKeys True
  41. Command1.Caption = "Enable Keys"
  42. ElseIf Command1.Caption = "Enable Keys" Then
  43. DisableKeys False
  44. Command1.Caption = "Disable Keys"
  45. Else
  46. End
  47. End If
  48. End Sub
  49.  
  50. Private Sub Form_Load()
  51. x = 2
  52. End Sub
  53.